<script setup lang="ts">
import {ref} from 'vue';
const active = ref(0);
</script>

<template>
  <div class="content">
    <router-view></router-view>
  </div>
  <van-tabbar v-model="active" active-color="#FFC000">
    <van-tabbar-item to="/" icon="home-o">首页</van-tabbar-item>
    <van-tabbar-item to="/user" icon="friends-o">我</van-tabbar-item>
  </van-tabbar>

</template>

<style scoped>

</style>